home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #3
/
Amiga Plus CD - 2002 - No. 03.iso
/
AmigaPlus
/
AmigaOS
/
SDL_Teil1
/
SDL1
/
erstes.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2003-02-23
|
338 b
|
18 lines
#include <stdlib.h>
#include "SDL.h"
int main()
{
printf("Initialisiere SDL...\n");
if (SDL_Init(SDL_INIT_VIDEO) < 0)
{
printf("SDL konnte nicht initialisiert werden: %s\n", SDL_GetError());
exit(-1);
}
printf("SDL erfolgreich initialisiert!\n");
printf("Verlasse SDL...\n");
atexit(SDL_Quit);
}